package com.caigou.constant;

public class NewsConstant {

    //图片库、视频库、音频库保存到阿里云oss的根目录
    public final static String PICTURE_ROOT="picture";
    public final static String VIDEO_ROOT="video";
    public final static String AUDIO_ROOT="audio";
    //智能表单二维码保存到阿里云oss的根目录
    public final static String QRCODE_ROOT="qrCode";

    public final static String ATTACHMENT_ROOT="attachment";//cms后台的附件根目录
    public final static String CONTRIBUTE_ROOT="contribute";//用户投稿的根目录
    public final static String LESSON_ROOT="lesson";//我要讲课的根目录

    //操作日志
    public final static String PICTURE_MODULE = "图片库";
    public final static String VIDEO_MODULE = "视频库";
    public final static String AUDIO_MODULE = "音频库";
    public final static String COMMENT_MODULE = "评论管理";
    public final static String ARTICLE_MODULE = "稿件库";
    public final static String FORM_MODULE = "表单库";
    public final static String ARTICLE_PROMOTER_MODULE = "作者推荐管理";
    public final static String SYSTEM_MESSAGE_MODULE = "系统消息";
    public final static String SYSTEM_MANAGE = "关键词维护";
    public final static String CRAW_MODULE = "采集库";

    //以下为频道管理模块
    public final static String CHANNEL_MODULE = "频道管理";
//    public final static String PURCHASER_MODULE = "采购人";
//    public final static String PRACTICE_MODULE = "实务";
//    public final static String SUPERVISE_MODULE = "监管";
//    public final static String ARMY_MODULE = "军队";
//    public final static String INSTITUTE_MODULE = "研究院";
//    public final static String AUTO_MODULE = "汽车";
//    public final static String IT_MODULE = "IT";
//    public final static String FURNITURE_MODULE = "家具";
//    public final static String AIR_CONDITIONER_MODULE = "空调电器";
//    public final static String ELEVATOR_MODULE = "电梯";
    public final static String GOV_PRO_LIST_MODULE = "政采榜";

    //操作日志类型定义
    public final static String ADD_OPERATION = "增加";
    public final static String UPDATE_OPERATION = "修改/更新";
    public final static String DELETE_OPERATION = "删除";
    public final static String PUBLISH_OPERATION = "发布";
    public final static String CREATE_TEMP_STORE = "创建暂存";
    public final static String TOP_OPERATION = "置顶";
    public final static String RECOMMEND_OPERATION = "推荐";
    public final static String OUTPUT_OPERATION = "导出";
    public final static String DISABLE_OPERATION = "禁用";
    public final static String ENABLE_OPERATION = "启用";
    public final static String RESTORE_OPERATION = "恢复";
    public final static String SAVE_OPERATION = "保存";//创建或者更新

    //图片\音频\视频delete_status状态值
    public final static int DELETE_STATUS_NORMAL = 0;//正常状态
    public final static int DELETE_STATUS_DELETE = 1;//删除状态(回收站中可见）
    public final static int DELETE_STATUS_RECYCLE = 2;//回收站中文件被删除状态

    //文件夹（图片、音频、视频）delete_status状态值
    public final static int FOLDER_NORMAL = 0;
    public final static int FOLDER_DELETE = 1;

    //文件夹的默认文件夹属性
    public final static int DEFAULT_FOLDER_NO = 0;
    public final static int DEFAULT_FOLDER_YES = 1;

    //评论生成id前缀
    public final static String COMMENT_PREFIX = "PL%s";


    public final static String SYSTEM_MESSAGE_PRE_KEY = "systemMessage:";

//    public final static String CONTRIBUTE_NOTICE_KEY = "cms:contribute:notice";//投稿须知
//    public final static String CONTRIBUTE_ATTACHMENT_MAX_COUNT_KEY = "cms:contribute:attachmentMaxCount";//投稿附件最大个数
//    public final static String CONTRIBUTE_ATTACHMENT_MAX_SIZE_KEY = "cms:contribute:attachmentMaxSize";//投稿稿件最大尺寸
//    public final static String CONTRIBUTE_ATTACHMENT_NOTE_KEY = "cms:contribute:attachmentNote";//附件上传说明
//
//    public final static String LESSON_NOTICE_KEY = "cms:lesson:notice";//我要讲课须知
//    public final static String LESSON_ATTACHMENT_MAX_COUNT_KEY = "cms:lesson:attachmentMaxCount";//我要讲课附件最大个数
//    public final static String LESSON_ATTACHMENT_MAX_SIZE_KEY = "cms:lesson:attachmentMaxSize";//我要讲课稿件最大尺寸
//    public final static String LESSON_ATTACHMENT_NOTE_KEY = "cms:lesson:attachmentNote";//我要讲课附件上传说明

    public final static String CREATE_FORM_PRE_KEY = "cms::createForm::";
}
